package pers.xhh.frontapi.entity.to.order;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author wei-xhh
 * @date 2020-12-09
 */
public class OrderSubmitTo {
    /**
     * 收货地址id
     */
    @NotBlank(message = "收货地址id不能空！")
    private String addrId;
    /**
     * 支付方式
     */
    @NotBlank(message = "支付方式为空！")
    private String payType;
    /**
     * 防重令牌
     */
    @NotBlank(message = "令牌为空！")
    private String orderToken;
    /**
     * 应付价格
     */
    private BigDecimal payPrice;
    /**
     * 订单备注
     */
    private String note;

    public String getAddrId() {
        return addrId;
    }

    public void setAddrId(String addrId) {
        this.addrId = addrId;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getOrderToken() {
        return orderToken;
    }

    public void setOrderToken(String orderToken) {
        this.orderToken = orderToken;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
